package com.kim.smartring.activity.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageView;

import com.kim.smartring.R;
import com.kim.smartring.activity.IndexActivity;

public class FeedBackFragment extends BaseFragment {
	private EditText edt_content;// 反馈内容
	private EditText edt_contact;// 邮箱号什么的
	private ImageView img_ok;
	private ImageView img_cancel;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View v = inflater.inflate(R.layout.feedback_layout, null);

		edt_content = (EditText) v.findViewById(R.id.edt_content);
		edt_contact = (EditText) v.findViewById(R.id.edt_contact);

		img_ok = (ImageView) v.findViewById(R.id.img_ok);
		img_cancel = (ImageView) v.findViewById(R.id.img_cancel);

		img_ok.setOnClickListener(this);
		img_cancel.setOnClickListener(this);
		return v;
	}

	@Override
	public void onClick(View arg0) {

		switch (arg0.getId()) {
		case R.id.img_ok:
			Intent intent = new Intent();
			intent.setClass(getActivity(), IndexActivity.class);
			startActivity(intent);
			break;
		case R.id.img_cancel:

			break;

		default:
			break;
		}

	}

}